package hanlder.store.ind.shop

import service.store.ind.SockClientInfo

// client id binding with openid
handlerSockjs.add('mapping-openid'){sock, json ->
	if(!json.openid)
		return [flag: false, msg: 'no openid']

	SockClientInfo.inst.put(json.openid + '-sockid', sock.writeHandlerID)
	[flag: true]
}